package com.yitao.client.dto.user;

import lombok.Data;
import java.util.Date;
import java.util.List;
import com.skipper.base.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;


/**
 *
 *  @author skipper
 *  @date 2019-03-19
 *  @desc  如该dto不需要id继承 BaseDto 即可 如需id 则根据情况选择  BaseDtoWithId  或 BaseDtoWithStringId
 *  @see
 */

public class UserInfoDto extends BaseDto {


    /**
     * 主键
     */
    @ApiModelProperty("主键")
    private Long id;


    /**
     * open_id
     */
    @ApiModelProperty("open_id")
    private String openId;


    /**
     * 昵称
     */
    @ApiModelProperty("昵称")
    private String nickName;


    /**
     * 用户名
     */
    @ApiModelProperty("用户名")
    private String userName;


    /**
     * 用户真实姓名
     */
    @ApiModelProperty("用户真实姓名")
    private String realName;


    /**
     * 签名
     */
    @ApiModelProperty("签名")
    private String signature;


    /**
     * 生日
     */
    @ApiModelProperty("生日")
    private String birthday;


    /**
     * 性别，0：男，1：女，2：其它
     */
    @ApiModelProperty("性别，0：男，1：女，2：其它")
    private Integer gender;


    /**
     * 密码
     */
    @ApiModelProperty("密码")
    private String password;


    /**
     * 手机号
     */
    @ApiModelProperty("手机号")
    private String phone;


    /**
     * 邮箱
     */
    @ApiModelProperty("邮箱")
    private String email;


    /**
     * 头像路径
     */
    @ApiModelProperty("头像路径")
    private String avatar;


    /**
     * 交易密码
     */
    @ApiModelProperty("交易密码")
    private String tradePassword;


    /**
     * userstatus 状态[0：正常，1：禁用]
     */
    @ApiModelProperty("userstatus 状态[0：正常，1：禁用]")
    private Boolean userStatus;


    /**
     * usertype 用户类型，来源数据字典
     */
    @ApiModelProperty("usertype 用户类型，来源数据字典")
    private String userType;


    /**
     * 渠道id
     */
    @ApiModelProperty("渠道id")
    private Long channelsId;


    /**
     * 终端来源
     */
    @ApiModelProperty("终端来源")
    private String clientType;


    /**
     * 邀请码
     */
    @ApiModelProperty("邀请码")
    private String inviteCode;


    /**
     * 登陆次数
     */
    @ApiModelProperty("登陆次数")
    private Integer loginCount;


    /**
     * 注册ip
     */
    @ApiModelProperty("注册ip")
    private String registerIp;


    /**
     * 注册时间
     */
    @ApiModelProperty("注册时间")
    private Date registerTime;


    /**
     * 最后修改资料时间
     */
    @ApiModelProperty("最后修改资料时间")
    private Date lastUpdateTime;


    /**
     * 最后登录ip
     */
    @ApiModelProperty("最后登录ip")
    private String lastLoginIp;


    /**
     * 最后登录时间
     */
    @ApiModelProperty("最后登录时间")
    private Date lastLoginTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getTradePassword() {
        return tradePassword;
    }

    public void setTradePassword(String tradePassword) {
        this.tradePassword = tradePassword;
    }

    public Boolean getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(Boolean userStatus) {
        this.userStatus = userStatus;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public Long getChannelsId() {
        return channelsId;
    }

    public void setChannelsId(Long channelsId) {
        this.channelsId = channelsId;
    }

    public String getClientType() {
        return clientType;
    }

    public void setClientType(String clientType) {
        this.clientType = clientType;
    }

    public String getInviteCode() {
        return inviteCode;
    }

    public void setInviteCode(String inviteCode) {
        this.inviteCode = inviteCode;
    }

    public Integer getLoginCount() {
        return loginCount;
    }

    public void setLoginCount(Integer loginCount) {
        this.loginCount = loginCount;
    }

    public String getRegisterIp() {
        return registerIp;
    }

    public void setRegisterIp(String registerIp) {
        this.registerIp = registerIp;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public String getLastLoginIp() {
        return lastLoginIp;
    }

    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }


}